package com.happe.foodeasy.manage.service.impl;

import com.happe.foodeasy.manage.dao.ProvinceInfoMapper;
import com.happe.foodeasy.manage.commodity.entity.ProvinceInfoEntity;
import com.happe.foodeasy.manage.service.ProvinceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProvinceInfoServiceImpl implements ProvinceInfoService{
    @Autowired
    private ProvinceInfoMapper provinceInfoMapper;

    @Override
    public List<ProvinceInfoEntity> selectAllProvinces() {
        return provinceInfoMapper.selectAllProvince();
    }
}
